package com.cy.jxc.service.impl;

import com.cy.jxc.dao.LoginDao;
import com.cy.jxc.entity.User;
import com.cy.jxc.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LoginServiceImpl implements LoginService {
    @Autowired
    LoginDao loginDao;
    @Override
    public User findUserByname(String username) {
        return loginDao.findUserByname(username);
    }
}
